package com.ljx;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;

/**
 * @author LJX
 * @Description: TODO
 * @Date: 2023/3/1 16:56
 * @Version 1.0
 */
public class test {
	public static void main(String[] args) {
		BCryptPasswordEncoder passwordEncoder=new BCryptPasswordEncoder();
		boolean matches = passwordEncoder.matches("123456", "$2a$10$IoHoAPyhjJtGx3LGrzpzgujtDbMu432CybidE2uWAngSthAvqrvP.");
		System.out.println(matches);

	}
}
